package com.qingfeng.client.util;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/3/6 3:02 下午
 */
public enum  TradeEnum {
    TRADE_PRE(0,"预交易"),
    TRADE_WAIT_PAY(1,"待付款"),
    TRADE_WAIT_SEND(2,"待发货"),
    TRADE_WAIT_RECV(3,"待收货"),
    TRADE_FINISH(4,"交易完成，待评价"),
    TRADE_CLOSED(6,"关闭交易"),
    TRADE_REFUND(-1,"退款"),
    TRADE_REFUND_GOODS(-2,"退款退货"),
    TRADE_REFUND_FAIL(-3,"退款失败"),
    TRADE_REFUND_SUCCESS(7,"退款成功")
    ;

    private Integer code;

    private String msg;


    TradeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
